/*
 * Created on 2004/01/23
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package org.portion.model;

import java.io.Serializable;

/**
 * @author ota
 *
 * To change the template for this generated type comment go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
public class HttpResponse implements Serializable {

	private int statusCode = 0;
	private String bodyText = null;

	public HttpResponse(int code, String body){
		setStatusCode(code);
		setBodyText(body);
	}

	private void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}

	public int getStatusCode() {
		return statusCode;
	}

	private void setBodyText(String bodyText) {
		this.bodyText = bodyText;
	}

	public String getBodyText() {
		return bodyText;
	}

}
